﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.Configuration;

namespace TimeCapsule
{
	public class SiteConfig:ConfigurationSection
	{
		
		[ConfigurationProperty("TimeCapsule")]	
		public RoleElement Role
		{
			get { return (RoleElement)base["role"]; }
		}
		public class RoleElement : ConfigurationElement
		{
			[ConfigurationProperty("Admin", IsRequired=true)]
			public int Admin
			{
				get { return (int)base["Admin"]; }
				set { base["Admin"] = value; }
			}
		}
	}

}
